package org.planaz.campusvoting.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@TableName("t_items")
@Data
public class Item {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @TableField("act_id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long actId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long uid;
    private String cover;
//    private String avatar;
//    private String username;
    private String intro;
    private Integer num;
    private String tittle;
    private String state;
    private String cause;
}
